package com.atguigu.eduservice.service.impl;
import com.atguigu.eduservice.service.IPayment;
import com.atguigu.eduservice.entity.Order;
import com.atguigu.eduservice.entity.PayResult;
import org.springframework.stereotype.Service;

/**
 * 微信支付
 *
 * @author Mr.Qu
 * @since 2021/5/18 10:58
 */
@Service
public class WechatPay implements IPayment {

    @Override
    public PayResult pay(Order order) {
        return new PayResult(200, "微信支付成功");
    }
}